package dbms.absyn;

import dbms.symbol.Symbol;

public class AttrList {
	public int pos;
	public Attribute attr;
	public AttrList next;
	
	public AttrList(int p, Attribute id) {
		pos = p;
		attr = id;
	}
	
	public AttrList(int p, Attribute symbol, AttrList al) {
		pos = p;
		attr = symbol;
		next = al;
	}

	public AttrList(int tableleft, Symbol sym, Symbol sym2, AttrList al) {
		pos = tableleft;
		attr = new Attribute(sym.name + "." + sym2.name);
		next = al;
	}
}
